package com.example.clinic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 病人表
 * </p>
 *
 * @author wangyulong
 * @since 2024-02-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Patient对象", description="病人表")
public class Patient implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "病号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "病人身份证号")
    private String patientidentity;

    private String patientname;

    private Integer sex;

    private String phone;

    private String allergy;

    private LocalDate inputtime;

    private String others;


}
